package com.itqf.entity;

import java.io.Serializable;

public class User implements Serializable {
    private static final long serialVersionUID =1L;
    private int userno;
    private String userpassword;
    private String username;
    private String sex;
    private String email;
    private int occupation;
    private int status;
    private String ucode;

    public User() {
    }

    public User(int userno, String userpassword, String username, String sex, String email, int occupation, int status, String ucode) {
        this.userno = userno;
        this.userpassword = userpassword;
        this.username = username;
        this.sex = sex;
        this.email = email;
        this.occupation = occupation;
        this.status = status;
        this.ucode = ucode;
    }

    public String getUcode() {
        return ucode;
    }

    public void setUcode(String ucode) {
        this.ucode = ucode;
    }

    public int getUserno() {
        return userno;
    }

    public void setUserno(int userno) {
        this.userno = userno;
    }

    public String getUserpassword() {
        return userpassword;
    }

    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getOccupation() {
        return occupation;
    }

    public void setOccupation(int occupation) {
        this.occupation = occupation;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "User{" +
                "userno='" + userno + '\'' +
                ", Userpassword='" + userpassword + '\'' +
                ", username='" + username + '\'' +
                ", sex='" + sex + '\'' +
                ", email='" + email + '\'' +
                ", ucode='" + ucode + '\'' +
                ", occupation=" + occupation +
                ", status=" + status +
                '}';
    }
}
